import React, { Component } from 'react';
import './Input.scss'
class Input extends Component {
    render() {
        return (
            //像class这样编译为js后会产生歧义的代码
            // 必须按照react规定的语法书写
            <div className='input'>
                <input type="text" placeholder='请输入商品名称' />
                {/* <span>搜索</span> */}
            </div>
        );
    }
}

export default Input;